import Vue from 'vue';
import Router from 'vue-router';
Vue.use(Router);
// 定义路由配置
let routes = []
let concat = (router) => {
  routes = routes.concat(router)
}
// // 导入路由规则
import HomeRouter from '@/module/home/router'
import cmspageRouter from '@/module/cmspage/router'
// import CmsRouter from '@/module/cms/router'
// import  zdcmsRouter from '@/module/zdcms/router/zdcms'
//import CmsPageRouter from '@/module/cmspage/router'
//import hedaCmsPageRouter from '@/module/hedacms/router'
// 合并路由规则
//concat(hedaCmsPageRouter) []  [1,2,3] [4,5,6] == [1,2,3,4,5,6]
concat(cmspageRouter)
concat(HomeRouter)
// concat(CmsRouter)
// concat(zdcmsRouter)
export default routes;
